package com.zzj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zzj.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.model.dto.CategoryCreateDto;
import com.zzj.model.dto.QueryListDto;

/**
 * <p>
 * 分类表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-07-17
 */
public interface ICategoryService extends IService<Category> {
    IPage<Category> queryList(QueryListDto in);
    Category create(CategoryCreateDto in);

    Category findCategory(String name);
}
